<tbody>
{foreach from="`$orders`" item="order"}
	<tr class="{cycle values=",alt"}">
		<td class="famfamfam"><img src="/admin/backend/resources/images/icons/{if $order.status=='complete'}lorry{elseif $order.status=='approved'}star{elseif $order.status=='rejected'}thumb_down{elseif $order.status=='cancelled' or $order.status=='rejected'}cross{else}new{/if}.png" alt="" /></td>
		<td class="narrow-as-possible col_id"><a href="/admin/shop/orders/edit/{$order.id|str_pad:6:0:$smarty.const.STR_PAD_LEFT}/">{$order.id|str_pad:6:0:$smarty.const.STR_PAD_LEFT|escape:"html":"UTF-8"|highlight:$smarty.session.paging[$path_string].filter}</a></td>
		<td class="narrow-as-possible col_created">{$order.created|strtotime|date:'M d, Y (H:i)'}</td>
		<td class="narrow-as-possible col_customer">{$order.customer|escape:"html":"UTF-8"|highlight:$smarty.session.paging[$path_string].filter}</td>
		<td class="narrow-as-possible col_price_excl_vat">{$order.price_excl_vat|escape:"html":"UTF-8"|highlight:$smarty.session.paging[$path_string].filter}</td>
		<td class="narrow-as-possible col_vat">{$order.vat|escape:"html":"UTF-8"|highlight:$smarty.session.paging[$path_string].filter}</td>
		<td class="narrow-as-possible col_status">{$order.status|escape:"html":"UTF-8"|highlight:$smarty.session.paging[$path_string].filter}</td>
		<td></td>
	</tr>
{foreachelse}
	<tr>
		<td class="famfamfam"></td>
		<td colspan="6">No results.</td>
	</tr>
{/foreach}
</tbody>
